// //
// // Created on 2024/12/8.
// //
// // Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// // please include "napi/native_api.h".
//
// #ifndef OPENGLDEMO_FACE_MANAGER_H
// #define OPENGLDEMO_FACE_MANAGER_H
//
// #include "FaceDetector.h"
// #include <cstdint>
// class FaceManager {
// private:
//     static FaceManager m_faceDetectManager;
//     seeta::FaceDetector *mFaceDetection = nullptr; // 人脸检测
//
// public:
//     FaceManager();
//     ~FaceManager();
//     static FaceManager *GetInstance() { return &FaceManager::m_faceDetectManager; }
//     void destroyFaceDetect();
//     int initFaceDetectBytes(uint8_t *data, int width, int height);
//     int initFaceDetectionPath(NativeResourceManager *manager, char *path, int width, int height);
//     SeetaFaceInfoArray detect(uint8_t *data, int width, int height);
// };
// #endif // OPENGLDEMO_FACE_MANAGER_H
